import 'package:flutter/material.dart';

class TestWarnWidget extends StatefulWidget {
  @override
  _TestWarnWidgetState createState() => _TestWarnWidgetState();
}

class _TestWarnWidgetState extends State<TestWarnWidget> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('测试警告widget'),
        ),
        body: Column(
          children: [
            SizedBox(
              width: 200,
              height: 200,
              child: Row(
                children: [
                  Container(
                    width: 300,
                    height: 300,
                    color: Colors.red,
                  )
                ],
              ),
            )
          ],
        ));
  }
}
